/*
 * CCException.h
 *
 *  Created on: May 3, 2011
 *      Author: trungtq
 */

#ifndef CCEXCEPTION_H_
#define CCEXCEPTION_H_

#include <string>

using namespace std;

class CCException {
public:
    CCException();
    CCException(const char* message);
    CCException(string message);
    virtual ~CCException();

private:
    string message;

public:
    static void throwException(string message);
    void report();
};

#endif /* CCEXCEPTION_H_ */
